package com.plus.demo.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.plus.demo.service.BizService;

@Controller
@RequestMapping("/v1")
public class AnswerController {
	@Resource
	private BizService bizService;
	@ResponseBody
	@RequestMapping("/save")
	public int save() {
		bizService.save();
		return 1;
	}
	
}
